package yy.robot.exception;

/**
 * Created by BaiJiFeiLong@gmail.com at 2018/5/2 19:17
 */
public class BizException extends RuntimeException {

    private int code;

    public BizException(int code, String message) {
        super(message);
        this.code = code;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }
}
